<?php
// 本类由系统自动生成，仅供测试用途
class CommonAction extends Action {
    public function _initialize()
    {
        if(session("?".C("SESSION_USER_NAME")))
            $this->username = session(C("SESSION_USER_NAME"));
    }

  /**
   * assign base data the page needed ,such username
   * @return [type] [description]
   */
  public function assignBaseData()
  {
    $this->username = session(C("SESSION_USER_NAME"));
    // p($this->username, "username");
  }
}